package yxy.cherry.data.bean;

import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

@DataType
public class herograde implements DataClass {

    public int attack;

    public String name;

    public int pdefense;

    public int id;

    public int sefense;

    public int stagemax;

    public int life;

    public int speed;

    public int getSpeed() {
        return speed;
    }

    public void setAttack(int attack) {
        this.attack = attack;
    }

    public int getAttack() {
        return attack;
    }

    public String getName() {
        return name;
    }

    public int getPdefense() {
        return pdefense;
    }

    public int getId() {
        return id;
    }

    public int getSefense() {
        return sefense;
    }

    public int getStagemax() {
        return stagemax;
    }

    public int getLife() {
        return life;
    }

    @Override
    public String getCode() {
        return String.valueOf(getId());
    }
}